#include <stdio.h>

#include "IApplication.hpp"
extern IApplication* g_pApp;
int main(int argc, char* argv[]) {
    if (g_pApp->Initialize() != 0) {
        printf("App initialize fails\n");
        return -1;
    }
    printf("Game Engin App Start\n");
    while (g_pApp->IsQuit()) {
        g_pApp->Tick();
    }

    g_pApp->Finalize();
    printf("Game Engin App End\n");
    return 0;
}
